<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="UTF-8">
    <title>登录认证</title>
    <style>
        html,body {
            height: 100%;
            margin: 0;
            padding: 0;
        }
        .container {
            height: 100%;
            background-image: linear-gradient(to right, #5b5bbe, #7595a5);
        }
        .login-wrapper {
            background-color: #fff;
            width: 555px;
            height: 418px;
            border-radius: 15px;
            padding: 0 50px;
            position: relative;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }
        .header {
            font-size: 38px;
            font-weight: bold;
            text-align: center;
            line-height: 150px;
        }
        .input-item {
            display: block;
            width: 100%;
            margin-bottom: 20px;
            border: 0;
            padding: 10px;
            border-bottom: 1px solid rgb(128, 125, 125);
            font-size: 15px;
            outline: none;
        }
        .input-item:placeholder {
            text-transform: uppercase;
        }
        .loginBtn {
            text-align: center;
            padding: 10px;
            font-size: 17px;
            border-style:none;
            width: 100%;
            margin-top: 40px;
            background-image: linear-gradient(to right, #7595a5, #5b5bbe);
            color: #fff;
        }
        .msg {
            text-align: center;
            line-height: 48px;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="login-wrapper">
            <div class="header">统一认证中心</div>
                <form action="/login" method="POST">
                    <input type="text" name="username" placeholder="用户名" class="input-item" value="">
                    <input type="password" name="password" placeholder="密码" class="input-item" value="">
                    <button type="submit" class="loginBtn">登录</button>
                </form>
                <!-- 提示信息 -->
                <p class="msg" style="color: red;" th:text="${session.msg}"></p>
        </div>
    </div>

</body>

</html>